package com.ljt.pojo;

import java.util.ArrayList;
import java.util.List;

public class UserExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andJieduan1IsNull() {
            addCriterion("jieduan1 is null");
            return (Criteria) this;
        }

        public Criteria andJieduan1IsNotNull() {
            addCriterion("jieduan1 is not null");
            return (Criteria) this;
        }

        public Criteria andJieduan1EqualTo(String value) {
            addCriterion("jieduan1 =", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1NotEqualTo(String value) {
            addCriterion("jieduan1 <>", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1GreaterThan(String value) {
            addCriterion("jieduan1 >", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1GreaterThanOrEqualTo(String value) {
            addCriterion("jieduan1 >=", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1LessThan(String value) {
            addCriterion("jieduan1 <", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1LessThanOrEqualTo(String value) {
            addCriterion("jieduan1 <=", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1Like(String value) {
            addCriterion("jieduan1 like", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1NotLike(String value) {
            addCriterion("jieduan1 not like", value, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1In(List<String> values) {
            addCriterion("jieduan1 in", values, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1NotIn(List<String> values) {
            addCriterion("jieduan1 not in", values, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1Between(String value1, String value2) {
            addCriterion("jieduan1 between", value1, value2, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andJieduan1NotBetween(String value1, String value2) {
            addCriterion("jieduan1 not between", value1, value2, "jieduan1");
            return (Criteria) this;
        }

        public Criteria andTelIsNull() {
            addCriterion("tel is null");
            return (Criteria) this;
        }

        public Criteria andTelIsNotNull() {
            addCriterion("tel is not null");
            return (Criteria) this;
        }

        public Criteria andTelEqualTo(Integer value) {
            addCriterion("tel =", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotEqualTo(Integer value) {
            addCriterion("tel <>", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThan(Integer value) {
            addCriterion("tel >", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelGreaterThanOrEqualTo(Integer value) {
            addCriterion("tel >=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThan(Integer value) {
            addCriterion("tel <", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelLessThanOrEqualTo(Integer value) {
            addCriterion("tel <=", value, "tel");
            return (Criteria) this;
        }

        public Criteria andTelIn(List<Integer> values) {
            addCriterion("tel in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotIn(List<Integer> values) {
            addCriterion("tel not in", values, "tel");
            return (Criteria) this;
        }

        public Criteria andTelBetween(Integer value1, Integer value2) {
            addCriterion("tel between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andTelNotBetween(Integer value1, Integer value2) {
            addCriterion("tel not between", value1, value2, "tel");
            return (Criteria) this;
        }

        public Criteria andHobbyIsNull() {
            addCriterion("hobby is null");
            return (Criteria) this;
        }

        public Criteria andHobbyIsNotNull() {
            addCriterion("hobby is not null");
            return (Criteria) this;
        }

        public Criteria andHobbyEqualTo(String value) {
            addCriterion("hobby =", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotEqualTo(String value) {
            addCriterion("hobby <>", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyGreaterThan(String value) {
            addCriterion("hobby >", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyGreaterThanOrEqualTo(String value) {
            addCriterion("hobby >=", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLessThan(String value) {
            addCriterion("hobby <", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLessThanOrEqualTo(String value) {
            addCriterion("hobby <=", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyLike(String value) {
            addCriterion("hobby like", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotLike(String value) {
            addCriterion("hobby not like", value, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyIn(List<String> values) {
            addCriterion("hobby in", values, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotIn(List<String> values) {
            addCriterion("hobby not in", values, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyBetween(String value1, String value2) {
            addCriterion("hobby between", value1, value2, "hobby");
            return (Criteria) this;
        }

        public Criteria andHobbyNotBetween(String value1, String value2) {
            addCriterion("hobby not between", value1, value2, "hobby");
            return (Criteria) this;
        }

        public Criteria andYinxiangIsNull() {
            addCriterion("yinxiang is null");
            return (Criteria) this;
        }

        public Criteria andYinxiangIsNotNull() {
            addCriterion("yinxiang is not null");
            return (Criteria) this;
        }

        public Criteria andYinxiangEqualTo(String value) {
            addCriterion("yinxiang =", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangNotEqualTo(String value) {
            addCriterion("yinxiang <>", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangGreaterThan(String value) {
            addCriterion("yinxiang >", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangGreaterThanOrEqualTo(String value) {
            addCriterion("yinxiang >=", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangLessThan(String value) {
            addCriterion("yinxiang <", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangLessThanOrEqualTo(String value) {
            addCriterion("yinxiang <=", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangLike(String value) {
            addCriterion("yinxiang like", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangNotLike(String value) {
            addCriterion("yinxiang not like", value, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangIn(List<String> values) {
            addCriterion("yinxiang in", values, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangNotIn(List<String> values) {
            addCriterion("yinxiang not in", values, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangBetween(String value1, String value2) {
            addCriterion("yinxiang between", value1, value2, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andYinxiangNotBetween(String value1, String value2) {
            addCriterion("yinxiang not between", value1, value2, "yinxiang");
            return (Criteria) this;
        }

        public Criteria andJieduan2IsNull() {
            addCriterion("jieduan2 is null");
            return (Criteria) this;
        }

        public Criteria andJieduan2IsNotNull() {
            addCriterion("jieduan2 is not null");
            return (Criteria) this;
        }

        public Criteria andJieduan2EqualTo(String value) {
            addCriterion("jieduan2 =", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2NotEqualTo(String value) {
            addCriterion("jieduan2 <>", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2GreaterThan(String value) {
            addCriterion("jieduan2 >", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2GreaterThanOrEqualTo(String value) {
            addCriterion("jieduan2 >=", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2LessThan(String value) {
            addCriterion("jieduan2 <", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2LessThanOrEqualTo(String value) {
            addCriterion("jieduan2 <=", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2Like(String value) {
            addCriterion("jieduan2 like", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2NotLike(String value) {
            addCriterion("jieduan2 not like", value, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2In(List<String> values) {
            addCriterion("jieduan2 in", values, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2NotIn(List<String> values) {
            addCriterion("jieduan2 not in", values, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2Between(String value1, String value2) {
            addCriterion("jieduan2 between", value1, value2, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan2NotBetween(String value1, String value2) {
            addCriterion("jieduan2 not between", value1, value2, "jieduan2");
            return (Criteria) this;
        }

        public Criteria andJieduan3IsNull() {
            addCriterion("jieduan3 is null");
            return (Criteria) this;
        }

        public Criteria andJieduan3IsNotNull() {
            addCriterion("jieduan3 is not null");
            return (Criteria) this;
        }

        public Criteria andJieduan3EqualTo(String value) {
            addCriterion("jieduan3 =", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3NotEqualTo(String value) {
            addCriterion("jieduan3 <>", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3GreaterThan(String value) {
            addCriterion("jieduan3 >", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3GreaterThanOrEqualTo(String value) {
            addCriterion("jieduan3 >=", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3LessThan(String value) {
            addCriterion("jieduan3 <", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3LessThanOrEqualTo(String value) {
            addCriterion("jieduan3 <=", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3Like(String value) {
            addCriterion("jieduan3 like", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3NotLike(String value) {
            addCriterion("jieduan3 not like", value, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3In(List<String> values) {
            addCriterion("jieduan3 in", values, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3NotIn(List<String> values) {
            addCriterion("jieduan3 not in", values, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3Between(String value1, String value2) {
            addCriterion("jieduan3 between", value1, value2, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andJieduan3NotBetween(String value1, String value2) {
            addCriterion("jieduan3 not between", value1, value2, "jieduan3");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoIsNull() {
            addCriterion("yinxiangphoto is null");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoIsNotNull() {
            addCriterion("yinxiangphoto is not null");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoEqualTo(String value) {
            addCriterion("yinxiangphoto =", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoNotEqualTo(String value) {
            addCriterion("yinxiangphoto <>", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoGreaterThan(String value) {
            addCriterion("yinxiangphoto >", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoGreaterThanOrEqualTo(String value) {
            addCriterion("yinxiangphoto >=", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoLessThan(String value) {
            addCriterion("yinxiangphoto <", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoLessThanOrEqualTo(String value) {
            addCriterion("yinxiangphoto <=", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoLike(String value) {
            addCriterion("yinxiangphoto like", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoNotLike(String value) {
            addCriterion("yinxiangphoto not like", value, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoIn(List<String> values) {
            addCriterion("yinxiangphoto in", values, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoNotIn(List<String> values) {
            addCriterion("yinxiangphoto not in", values, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoBetween(String value1, String value2) {
            addCriterion("yinxiangphoto between", value1, value2, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andYinxiangphotoNotBetween(String value1, String value2) {
            addCriterion("yinxiangphoto not between", value1, value2, "yinxiangphoto");
            return (Criteria) this;
        }

        public Criteria andXskIsNull() {
            addCriterion("xsk is null");
            return (Criteria) this;
        }

        public Criteria andXskIsNotNull() {
            addCriterion("xsk is not null");
            return (Criteria) this;
        }

        public Criteria andXskEqualTo(String value) {
            addCriterion("xsk =", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskNotEqualTo(String value) {
            addCriterion("xsk <>", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskGreaterThan(String value) {
            addCriterion("xsk >", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskGreaterThanOrEqualTo(String value) {
            addCriterion("xsk >=", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskLessThan(String value) {
            addCriterion("xsk <", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskLessThanOrEqualTo(String value) {
            addCriterion("xsk <=", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskLike(String value) {
            addCriterion("xsk like", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskNotLike(String value) {
            addCriterion("xsk not like", value, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskIn(List<String> values) {
            addCriterion("xsk in", values, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskNotIn(List<String> values) {
            addCriterion("xsk not in", values, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskBetween(String value1, String value2) {
            addCriterion("xsk between", value1, value2, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskNotBetween(String value1, String value2) {
            addCriterion("xsk not between", value1, value2, "xsk");
            return (Criteria) this;
        }

        public Criteria andXskspIsNull() {
            addCriterion("xsksp is null");
            return (Criteria) this;
        }

        public Criteria andXskspIsNotNull() {
            addCriterion("xsksp is not null");
            return (Criteria) this;
        }

        public Criteria andXskspEqualTo(String value) {
            addCriterion("xsksp =", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspNotEqualTo(String value) {
            addCriterion("xsksp <>", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspGreaterThan(String value) {
            addCriterion("xsksp >", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspGreaterThanOrEqualTo(String value) {
            addCriterion("xsksp >=", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspLessThan(String value) {
            addCriterion("xsksp <", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspLessThanOrEqualTo(String value) {
            addCriterion("xsksp <=", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspLike(String value) {
            addCriterion("xsksp like", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspNotLike(String value) {
            addCriterion("xsksp not like", value, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspIn(List<String> values) {
            addCriterion("xsksp in", values, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspNotIn(List<String> values) {
            addCriterion("xsksp not in", values, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspBetween(String value1, String value2) {
            addCriterion("xsksp between", value1, value2, "xsksp");
            return (Criteria) this;
        }

        public Criteria andXskspNotBetween(String value1, String value2) {
            addCriterion("xsksp not between", value1, value2, "xsksp");
            return (Criteria) this;
        }

        public Criteria andDianyingIsNull() {
            addCriterion("dianying is null");
            return (Criteria) this;
        }

        public Criteria andDianyingIsNotNull() {
            addCriterion("dianying is not null");
            return (Criteria) this;
        }

        public Criteria andDianyingEqualTo(String value) {
            addCriterion("dianying =", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingNotEqualTo(String value) {
            addCriterion("dianying <>", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingGreaterThan(String value) {
            addCriterion("dianying >", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingGreaterThanOrEqualTo(String value) {
            addCriterion("dianying >=", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingLessThan(String value) {
            addCriterion("dianying <", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingLessThanOrEqualTo(String value) {
            addCriterion("dianying <=", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingLike(String value) {
            addCriterion("dianying like", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingNotLike(String value) {
            addCriterion("dianying not like", value, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingIn(List<String> values) {
            addCriterion("dianying in", values, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingNotIn(List<String> values) {
            addCriterion("dianying not in", values, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingBetween(String value1, String value2) {
            addCriterion("dianying between", value1, value2, "dianying");
            return (Criteria) this;
        }

        public Criteria andDianyingNotBetween(String value1, String value2) {
            addCriterion("dianying not between", value1, value2, "dianying");
            return (Criteria) this;
        }

        public Criteria andPinglunIsNull() {
            addCriterion("pinglun is null");
            return (Criteria) this;
        }

        public Criteria andPinglunIsNotNull() {
            addCriterion("pinglun is not null");
            return (Criteria) this;
        }

        public Criteria andPinglunEqualTo(String value) {
            addCriterion("pinglun =", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunNotEqualTo(String value) {
            addCriterion("pinglun <>", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunGreaterThan(String value) {
            addCriterion("pinglun >", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunGreaterThanOrEqualTo(String value) {
            addCriterion("pinglun >=", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunLessThan(String value) {
            addCriterion("pinglun <", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunLessThanOrEqualTo(String value) {
            addCriterion("pinglun <=", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunLike(String value) {
            addCriterion("pinglun like", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunNotLike(String value) {
            addCriterion("pinglun not like", value, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunIn(List<String> values) {
            addCriterion("pinglun in", values, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunNotIn(List<String> values) {
            addCriterion("pinglun not in", values, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunBetween(String value1, String value2) {
            addCriterion("pinglun between", value1, value2, "pinglun");
            return (Criteria) this;
        }

        public Criteria andPinglunNotBetween(String value1, String value2) {
            addCriterion("pinglun not between", value1, value2, "pinglun");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}